const { VITE_HIDE_HOME } = import.meta.env;
const Layout = () => import("@/layout/index.vue");

export default [
  {
    path: "/classification",
    name: "classification",
    component: () => import("@/views/classification/index.vue"),
    meta: {
      title: "素材",
      showLink: true
    }
  },
  {
    path: "/task-list",
    name: "taskList",
    component: () => import("@/views/taskList/index.vue"),
    meta: {
      title: "任务",
      showLink: true
    }
  },
  {
    path: "/upload",
    name: "upload",
    component: () => import("@/views/upload/index.vue"),
    meta: {
      title: "发布",
      showLink: true
    }
  },
  {
    path: "/reviews-upload",
    name: "reviewsUpload",
    component: () => import("@/views/reviewsUpload/index.vue"),
    meta: {
      title: "文案发布",
      showLink: true
    }
  }
] as Array<RouteConfigsTable>;
